package io.kiki.stack.netty.channelManager;

public interface ChannelFactory {

    void init(ChannelEventHandler channelEventHandler);

    Channel createChannel(Url url) throws Exception;

    Channel createChannel(String targetIP, int targetPort, int connectTimeout) throws Exception;

}
